package com.kingyea.mobilepolice.marketorg.service;

import com.kingyea.mobilepolice.marketorg.bean.MarketOrg;
import com.kingyea.mobilepolice.marketorg.bean.MarketOrgPo;

import java.util.List;
import java.util.Map;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description MarketOrg 接口
 * @date Created in 2018-04-26 15:22:49
 */
public interface MarketOrgService {

    /**
     * 列表
     *
     * @param map
     * @return
     */
    List<MarketOrg> search(Map<String, Object> map);

    /**
     * 删除
     *
     * @param marketCode
     * @return
     */
    Boolean deleteMarketCode(Integer marketCode);

    /**
     * 添加
     *
     * @param marketOrg
     * @return
     */
    Boolean save(MarketOrg marketOrg);

    Boolean batchSave(MarketOrgPo po);

}
